package com.ysd.entity;

import java.util.Date;

public class Common {
	private int id;
	private int productId;
	private int userId;
	private String commonDate;
	private String status;
	private String reply;
	private String content;
	private User username;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getCommonDate() {
		return commonDate;
	}
	public void setCommonDate(String commonDate) {
		this.commonDate = commonDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getReply() {
		return reply;
	}
	public void setReply(String reply) {
		this.reply = reply;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public User getUsername() {
		return username;
	}
	public void setUsername(User username) {
		this.username = username;
	}
	public Common(int id, int productId, int userId, String commonDate, String status, String reply, String content,
			User username) {
		super();
		this.id = id;
		this.productId = productId;
		this.userId = userId;
		this.commonDate = commonDate;
		this.status = status;
		this.reply = reply;
		this.content = content;
		this.username = username;
	}
	public Common() {
		super();
	}
	@Override
	public String toString() {
		return "Common [id=" + id + ", productId=" + productId + ", userId=" + userId + ", commonDate=" + commonDate
				+ ", status=" + status + ", reply=" + reply + ", content=" + content + ", username=" + username + "]";
	}
	
	
	
	
}
